package com.jingbian.study.entity;

import com.jingbian.study.service.IJobService;
import jakarta.annotation.Resource;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


public class JobTemplate implements Job {
    @Resource
    private IJobService jobService;

    public void execute(JobExecutionContext jobExecutionContext){
        jobService.test();
    }

}
